package com.cl.short_video_java.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.cl.short_video_java.pojo.VideoType;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cl.short_video_java.vo.TypeSearch;
import com.cl.short_video_java.vo.type.Type;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * @author object
 * @description 针对表【video_type】的数据库操作Service
 * @createDate 2024-10-31 15:58:59
 */
public interface VideoTypeService extends IService<VideoType> {

	Boolean InsertVideoType(String name);

	Boolean RemoveVideoTypeService(List<Integer> ids);

	PageInfo<VideoType> getPage(Integer pageNum, Integer pageSize);

	Page<VideoType> getPage(TypeSearch typeSearch);

	void save(Type type);

    List<VideoType> typePageService();
}
